package org.truenewx.tnxjee.core.enums.support;

import java.lang.reflect.Field;
import javax.annotation.*;

/**
 * 枚举项取值解决器
 *
 * @author jianglei
 */
public interface EnumItemValueResolver {

    @Nullable
    String getValue(Field field);

    @Nullable
    <T> T valueOf(Class<T> clazz, String value);

}
